package edu.hz.service;

import edu.hz.dao.HomeNewestDonationDto;
import edu.hz.model.dto.*;
import edu.hz.util.web.ApiResponse;

import java.util.List;

public interface DonationService {

    ApiResponse<Void> createDation(CreateDonationDto createDonationDto);

    ApiResponse<List<HomeNewestDonationDto>> lastest10Donations();

    ApiResponse<List<HomeTopContributingDonationDto>> top15ContributingProjects();

    ApiResponse<List<HomeMostMoneyDonationDto>> mostMoneyDonations();

    ApiResponse<List<HomeTopDonationDto>> top3Donations();

    ApiResponse<List<HomeNewestUserDonationDto>> last10UserDonations();

    ApiResponse<List<DonationHoleListDto>> allDonations();

    DonationHoleListContentDto donationInfo(Integer id);


}
